package com.dd.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

@Schema(description = "菜单树")
@Data
public class MenuVO implements Serializable {
    private Long id;
    private Long parentId;
    private String menuName;
    private String path;
    private String component;
    private String icon;
    private Integer sort;
    private Integer visible;
    private String selected;
    private String params;
    private Integer isCache;

    // 子菜单
    @Schema(description = "子菜单")
    private List<MenuVO> children;
}
